-
Home
-
WP 2FA – Two-factor authentication for WordPress
-
2.8.0 (latest)
-
Code
-
Classes
- TOTP
Total Complexity |
44 |
Dependencies |
9 |
Dependents |
6 |
Total lines |
498 |
Lines of code |
191 |
Logical lines of code |
119 |
Comment lines |
182 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_totp_decrypted() |
A |
50 |
9 |
29 |
get_user_totp_key_auth() |
A |
49 |
8 |
31 |
get_totp_key() |
S |
59 |
5 |
13 |
validate_totp_authentication() |
S |
59 |
3 |
15 |
set_user_method() |
S |
61 |
3 |
12 |
init() |
S |
56 |
2 |
17 |
is_enabled() |
S |
69 |
3 |
6 |
return_default_selection() |
S |
69 |
2 |
7 |
add_default_settings() |
S |
57 |
1 |
15 |
regenerate_authentication_key() |
S |
59 |
1 |
14 |
get_qr_code() |
S |
63 |
1 |
10 |
settings_loop() |
S |
76 |
1 |
4 |
totp_provider_name_translated() |
S |
74 |
1 |
4 |
totp_provider() |
S |
76 |
1 |
4 |
remove_user_totp_key() |
S |
75 |
1 |
4 |
get_user_totp_key() |
S |
79 |
1 |
3 |
set_user_totp_key() |
S |
79 |
1 |
3 |